package cc.rengu.redp.bizimpl.upmp.controller;


import cc.rengu.redp.bizimpl.upmp.domain.TBOnlineVerification;
import cc.rengu.redp.bizimpl.upmp.domain.TBRiskMchnt;
import cc.rengu.redp.bizimpl.upmp.service.ITBRiskMchntService;
import cc.rengu.redp.common.annotation.Log;
import cc.rengu.redp.common.controller.BaseController;
import cc.rengu.redp.common.domain.QueryRequest;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author System
 * @since 2022-05-02
 */
@Api(tags = "微信支付宝风险商户记录查询")
@RestController
@RequestMapping("/admin/optLog/riskMchnt")
public class TBRiskMchntController extends BaseController {
    @Autowired
    private ITBRiskMchntService itbRiskMchntService;

    @Log("微信支付宝风险商户记录列表")
    @GetMapping("list")
    public Map<String, Object> list(QueryRequest request, TBRiskMchnt entity) {
        return getDataTable(itbRiskMchntService.findByPage(request, entity));
    }
}
